package com.ruoyi.business.goods.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.business.base.JoBaseEntity;
import lombok.Data;

/**
 * 产品商品分类对象 jb_product_classify
 *
 * @author ruoyi
 * @date 2024-10-11
 */
@Data
public class JbProductClassify extends JoBaseEntity
{
    private static final long serialVersionUID = 1L;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 父级id
     */
    @Excel(name = "父级id")
    private Long parentId;

    /**
     * 祖级id
     */
    @Excel(name = "祖级id")
    private String ancestors;

    /**
     * 类型（0=产品1商品）
     */
    @Excel(name = "类型", readConverterExp = "0==产品1商品")
    private Long type;

    /**
     * 层级
     */
    @Excel(name = "层级")
    private Long level;

    /**
     * 状态（0正常 1停用）
     */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private Long status;

    /**
     * 创建人部门id
     */
    @Excel(name = "创建人部门id")
    private String createDeptId;

}
